﻿using LeRenard.ScriptWars.Model.Scripting.Definitions.Fluent;
namespace LeRenard.ScriptWars.Model.Scripting.Definitions
{
    /// <summary>
    /// Defines the starting point for the fluent api to construct new <see cref="IOperationDefinition"/>s.
    /// </summary>
    public static class OperationDefinitionFactory
    {
        /// <summary>
        /// Startpoint to build a new <see cref="IOperationDefinition"/>
        /// </summary>
        /// <param name="name">The name for the <see cref="IOperationDefinition"/>.</param>        
        public static OperationDefinitionBuilder New(string name)
        {
            return new OperationDefinitionBuilder(name);
        }
    }
}
